package com.campus.secondhand.model.dto;

import java.util.List;

import com.campus.secondhand.entity.School;
import com.campus.secondhand.entity.User;
import com.campus.secondhand.model.vo.ProductVO;
import com.campus.secondhand.model.vo.PurchaseRequestVO;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 搜索结果DTO
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class SearchResultDTO {

    /**
     * 商品列表
     */
    private List<ProductVO> products;

    /**
     * 商品总数
     */
    private Integer totalProducts;

    /**
     * 求购信息列表
     */
    private List<PurchaseRequestVO> purchaseRequests;

    /**
     * 求购信息总数
     */
    private Integer totalPurchaseRequests;

    /**
     * 学校列表
     */
    private List<School> schools;

    /**
     * 学校总数
     */
    private Integer totalSchools;

    /**
     * 用户列表
     */
    private List<User> users;

    /**
     * 用户总数
     */
    private Integer totalUsers;
}